package cn.livingCloud.dto.front;

import cn.livingCloud.dto.ArticleDto;
import cn.livingCloud.dto.Page;
import cn.livingCloud.entity.content.Article;

import java.util.List;

/**
 * Created by DingJie  on 2016/1/30.
 */
public class ArticleFrontListDto extends Page<ArticleDto> {

    @Override
    public void addAllList(List itemList) {
        for (Object item : itemList) {
            list.add(new ArticleDto((Article) item));
        }
    }
}
